#ifndef TOOLLOGICCT_H
#define TOOLLOGICCT_H
#include "analy/logic/ToolLogicRF.h"
#include <QAxObject>

class ToolLogicCT : public ToolLogicRF{

    Q_OBJECT

public:
    ToolLogicCT(QMap<QString, QMap<QString, QString>> &_RGLRLSMAP_,
                QSqlDatabase *DB,
                QMap<QString, QString> &_QSSMAP_);

    void data_scfocus_follow(QString content);

    void data_txtboxasb_triggered(NT::CST_BRIGHT_SPOT Type, QString objectName);

    void data_txtboxasb_facecut(QString ObjectName, bool whetherExec=true);

    void data_reserve_loader(NT::TOOL_VALIDCUT listName, bool isLoading=true);

    void data_list_remove();

    void data_listitem_echo();

    void basic_configration_init();

    void data_txtbox_focusfollow();

    void data_txtbox_passivityfollow(QTextCursor cursor);

    void data_serial_error(QSerialPort::SerialPortError error);

    void data_serial_detailconfig(QString Actext, SerialAttribute Attribute, bool isConfiguration=true);

    void data_serial_summaryconfig(bool isConfiguration=true, QString NikeNameArg=NULL);

    void data_serial_connectbranch(NT::TOOL_VALIDCUT Type);

    void data_serial_commandbranch(NT::TOOL_VALIDCUT Type, QString command=NULL);

    void data_task_runend(QString flag);

    void data_serial_commandimport();

    void data_serial_kwfind();

    void data_serial_kwoption(int Type, int state);

    void data_serial_hlrecover(QString searchText);

    void data_serial_hlrecover(int index);

    void data_serial_hlclrcfg(bool isForeColor=false);

    void data_serial_hlclslct(const QColor &color);

    void data_serial_hlbranch();

    void data_serial_hltriggered();

    void data_serial_hlcfgexec();

    QList<QVariant> data_serial_hlclparser(QString color, QString replaceStr=NULL, QString swapStr=NULL, uint depth=0);

    void data_serial_Infoquery();

    void data_qrcode_Infoquery();

    void data_qrcodebranch(NT::TOOL_VALIDCUT Type = NT::CUT_QRCODEPROD, bool isUpdate=true);

    void data_qrcode_formatbeautify(QString &_s);

protected:
    QString data_serialport_loopc();

    void data_tool_execstart(int index);

    void data_listitem_dbclickev(qint64 index);

    void data_listitem_slctev();

    void data_listitem_unslctev();

    void data_assistbut_error(QString name);
};
#endif








